package com.ftf.tp.blog.domain.configuration.service;

import com.ftf.tp.blog.domain.configuration.aggregate.QuestionAgg;
import com.ftf.tp.blog.domain.configuration.repository.QuestionRepository;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author tanghao
 * @date 2022/8/11
 */
@Slf4j
@Service
public class QuestionService {

    @Resource
    private QuestionRepository questionRepository;

    public void save(QuestionAgg questionAgg) {
        questionRepository.save(questionAgg);
    }
}
